package com.rzx.mybackend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rzx.mybackend.dto.BuyMerchandiseDTO;
import com.rzx.mybackend.entity.BuyMerchandise;

import java.util.List;
import java.util.Map;

/**
 * BuyMerchandiseService
 *
 * @author renzhexian
 * @date 2025/8/14
 */

public interface BuyMerchandiseService extends IService<BuyMerchandise> {

    void saveWithValidation(List<BuyMerchandiseDTO> buyMerchandiseDTOList);

    void cancelOrder(List<Long> orderIds);
}
